<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<%@page import="com.baosight.iplat4j.core.resource.I18nMessages"%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead> 
<EF:EFBody>
	<EF:EFForm formId="ZMCH80" method="POST" action="<%=actionUrl%>"> 

		<div id="ef_region_inqu" title="查询条件" efRegionShowClear="true">
			<div class="row-fluid"> 
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" popup="date"  ename="fdCurrentDate" cname="日期：" etc=" style='width:133px;'"/>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdWorknumId" cname="班次：" etc=" style='width:133px;'">
				      <EF:EFOptions blockId="cmes.cp.workNum" labelColumn="chineseValue" valueColumn="value"></EF:EFOptions>
			        </EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdStatus" cname="状态：" etc=" style='width:133px;'">
				      <EF:EFOptions blockId="cmes.ch.status" labelColumn="display" valueColumn="value"></EF:EFOptions>
			        </EF:EFSelect>
				</div>
			</div>	
		</div>
		
		<div id="ef_region_result" title="一班三汇报" style="overflow: scroll">
			<div id="ef_grid_result" title="页面信息" style="overflow: hidden; height: 300px;"></div>
		</div>
		
		<EF:EFRegion /> 

        <EF:EFGrid title="结果集" blockId="result" autoDraw="no" readonly="false" paintId="ef_grid_result" style="operationBar:true">
        
            <EF:EFColumn cname="主键"   ename="fdKeyId" visible="false"/> 
            <EF:EFComboColumn cname="状态" ename="fdStatus" blockName="cmes.ch.status" enable="false" align="center" width="100" labelProperty="display" valueProperty="value" />
            <EF:EFColumn cname="*日期" ename="fdCurrentDate" nullable="false" align="center" width="100" editType="date" dateFormat="yyyy-mm-dd" />
            <EF:EFComboColumn cname="*班次" ename="fdWorknumId" blockName="cmes.cp.workNum" nullable="false" align="center" labelProperty="display" valueProperty="value"  width="100" /> 
            <EF:EFColumn cname="*工作地点" ename="fdWorkPlace" nullable="false" width="160" editType="textarea"/>
            <EF:EFColumn cname="*工作安排" ename="fdWorkplanId" nullable="false" enable="true" align="center" width="100" />
            <EF:EFColumn cname="*跟班人员" ename="fdFollowPerson" nullable="false" align="center" visible="true" width="100" />
            <EF:EFColumn cname="*人数" ename="fdRs" nullable="false" align="center" validateRegex="/^\d{1,8}$/" validateErrorPrompt="输入长度不超过8位的整数" width="60" />
            <EF:EFColumn cname="*班前确认时间" ename="fdWorkbeforeTime" editType="datetime" dateFormatString="yyyy-MM-dd hh:mm:ss" nullable="false" align="center" width="150" />
	   	    <EF:EFComboColumn cname="班前确认是否" ename="fdWorkbeforeYesorno" align="center" width="100" >
		            <EF:EFOption value="是" label="是"/>
		            <EF:EFOption value="否" label="否"/> 
            </EF:EFComboColumn>
	   	    <EF:EFColumn cname="*班中确认时间"   ename="fdWorkmoddleTime" editType="datetime" dateFormatString="yyyy-MM-dd hh:mm:ss" nullable="false" align="center" width="150" />
			<EF:EFComboColumn cname="班中确认状态" ename="fdWorkmoddleStatus" align="center" blockName="cmes.ch.workPlanId" labelProperty="display" valueProperty="display" width="100" />
			<EF:EFColumn cname="*班末汇报时间"  ename="fdWorklastTime" editType="datetime" dateFormatString="yyyy-MM-dd hh:mm:ss" nullable="false" align="center" width="150" />
			<EF:EFColumn cname="*班末生产完成"  ename="fdWorklastOver" nullable="false" align="center" validateRegex="/^.{0,25}$/" validateErrorPrompt="输入0~25个字符" width="300" />
			<EF:EFComboColumn cname="安全状况" ename="fdWorklastSafe" align="center" width="100">
					<EF:EFOption value="是" label="是" />
					<EF:EFOption value="否" label="否" />
			</EF:EFComboColumn>
			<EF:EFColumn cname="*工作情况" ename="fdWorkSj" nullable="false" align="center" validateRegex="/^.{1,250}$/" validateErrorPrompt="输入1~250个字符" width="160" editType="textarea"/>
        </EF:EFGrid>
	</EF:EFForm> 
</EF:EFBody> 
</html>